section formula for vectors